import { defineStore } from "pinia"
 
const userInfoStore = defineStore('userInfo', {
  // defineStore('userInfo',{})  userInfo就是这个仓库的名称name
  state: () => ({
    username: '赫赫',
    age: 30,
    like: 'girl'
  })
})
 
export default userInfoStore
